
:root {
    --primary-color: #3b82f6;
    --hover-color: #2563eb;
    --background-color: #f0f5ff;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--background-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 0;
    margin: 2rem;
    position: relative;
}

.login-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-weight: 300;
}

.login-header h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
}

.login-header .logo {
    margin-bottom: 10px;
    font-size: 32px;
}

.login-form {
    width: 100%;
    padding: 35px 30px;
    background-color: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4b5563;
    font-size: 14px;
}

.form-group .input-with-icon {
    position: relative;
}

.form-group .input-icon {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #9ca3af;
}

.form-control {
    height: 48px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    padding-left: 40px;
    transition: all 0.3s;
    font-size: 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    padding: 0 40px;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.back-link {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-color);
}

.back-link i {
    margin-right: 4px;
}

.alert {
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.system-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}
